<rss xmlns:yandex="http://news.yandex.ru" xmlns:media="http://search.yahoo.com/mrss/" version="2.0">
<channel>
	<title>{$Config.RSS2Title}</title>
	<link>{$HOST}</link>
	<description>{$Config.RSS2Description}</description>
	<image>
  		<url>{$HOST}{$Config.MainImageFolder}logo_100x100.gif</url>
  		<title>{$Config.SiteNameInWords}</title>
		<link>{$HOST}</link>
  	</image>
{foreach from=$News item='curr'}
	<item>
		<title>{$curr.title}</title>
		<link>{$BaseURL}news/{$curr.p_date|date_format:'%Y'}/{$curr.p_date|date_format:'%m'}/{$curr.p_date|date_format:'%d'}/{$curr.linkname}{$Config.webPageFileType}</link>
		<pubDate>{$curr.p_date|date_format:'%a, %e %b %Y %T %z'}</pubDate>
        <yandex:full-text>{$curr.body|unescape|strip_tags:false|escape:'htmlchars'}</yandex:full-text>
        <description>{$curr.body|unescape|strip_tags:false|truncate:$Config.NewsBigDescriptionSymbolsCount:"..."|escape:'htmlchars'}</description>
        <yandex:genre>article</yandex:genre>
        {if $curr.authorName}<author>{$curr.authorName}</author>{/if}
        {if $curr.rubrics_arr[0].title}<category>{$curr.rubrics_arr[0].title}</category>{/if}
	</item>
{/foreach}
</channel>
</rss>